<link href="../addons/jy_yiliao/resource/css/weui.css" rel="stylesheet">
<link href="../addons/jy_yiliao/resource/css/zan.css" rel="stylesheet">
<link href="../addons/jy_yiliao/resource/css/order.css" rel="stylesheet">
<style>
.memlogo-area{
	color: #fff;
}
.color{
	color: #fff;
}
.memlogo-area .memlogo img{
	width: 100%;
	height: 100%;
	border-radius: 50%;
	border: 0 solid #fff;
}
.memlogo-area{
	width: 100%;
	background: #4491F1;
	border-radius: 0;
	height:9.6rem;
	margin-bottom:0
}
.memlogo-area .sign-btn{
    position: absolute;
	border-radius:0.3rem;
    margin: 0 auto;
    padding: 0 0.3rem;
	right:16px;
    color:#fff;
	text-align:center;
    background: #fabbbb;
}
.jylabel {
    padding: 0.2rem 1rem;
    font-size: 0.65rem;
    border-radius: 1rem;
}
.jylabel-info {
	border: 1px solid #fff;color:#fff;
}
.item-up-content {background-color: #fff;border-radius: 10px;padding:0.5rem;margin:0.5rem}
.weui_cells {padding:0;margin-top:0}
.weui_cell_bd {padding:0;padding-bottom:0.3rem;padding-top:0.3rem;color:#999;font-size:0.7rem}
.weui_cell_hd {font-size:0.7rem;padding-bottom:0.3rem;padding-top:0.3rem;margin-right:0.3rem}
.item-ng {}
.item-ng .deleteitem {position: absolute;color:#000;margin-top:-1rem;right:0.5rem}
        .weui-navbar .weui-navbar__item {
            background: #fff;
            padding: 15px 0;
            border-bottom: none;
            white-space: nowrap;
            font-size: 14px;
            position: relative;
            color: #333;
        }

        .weui-navbar .weui-navbar__item.lyb-active .weui-navbar__item__text {
            padding: 0;
            color: #C03E3E;
            background: transparent;
        }

        .weui-navbar .weui-navbar__item .weui-navbar__item__underline {
            height: 2px;
            width: 56px;
            position: absolute;
            left: 50%;
            bottom: 5px;
            -webkit-transform: translateX(-50%);
            transform: translateX(-50%);
            border-radius: 2px;
            background: #c03e3e;
            display: none;
        }

        .weui-navbar .weui-navbar__item.lyb-active .weui-navbar__item__underline {
            display: inline-block;
        }

        .custom-classname .weui-actionsheet__action .weui-actionsheet__cell {
            color: #DBAB7C;
        }

        .lyb-btn {
            border: 1px solid rgba(0, 0, 0, 0.2);
            border-radius: 2px;
            font-size: 12px;
            margin: 0;
            display: inline-block;
            padding: 0 10px;
            line-height: 2;
            color: #222222;
        }
		.order_list_ul li {
			border-right: 1px solid #f7f7f7;
		}
		.order_list_ul li p {
			margin: 0;
			text-align: center;
		}
		.order_list_ul li p:nth-of-type(1) {
			font-size: 12px;
			color: #969799;
		}
		.order_list_ul li p:nth-of-type(2) {
			line-height: 24px;
			font-weight: 600;
			margin-top: 4px;
		}
		.order_list_ul li:last-child {
			border-right: 0;
		}
		
		.order-list-shadow {
			box-shadow: 3px 2px 14px #eee;
		}
		.color {
			color: #C03E3E;
		}
		.expressage.more:after, .expressageSelf.more:after{
			right: 12px;
		}
    
</style>
<div ng-if="pagedata.op=='get'" class='fui-page fui-page-current'>
	<div class='fui-content member-page'>
			<div style="">					
					<div class="memlogo-area">
						<div class="col-jy" style="margin-top:0.6rem">
							<div class="jy-2">
								<h5 href="javascript:;">本月排班（天）</h5>
								<h2 style="margin-top:0;">{{pagedata.data.yuenum || '0'}} </h2>
							</div>
							<div class="jy-2">
								<span class="r-f jylabel jylabel-info" ng-click="access_json('jy_yiliao/worker.index/')" style="margin-right:0.3rem;">设置信息</span>
							</div>
						</div>
						<div class="col-jy" style="margin-top:0.6rem">
							<div class="jy-2">
								<h5 href="javascript:;">累计排班（天）</h5>
								<h2 style="margin-top:0;">{{pagedata.data.allnum || '0'}} </h2>
							</div>
							<div class="jy-2">
								<h5 href="javascript:;">预约门诊（人）</h5>
								<h2 style="margin-top:0;">{{pagedata.data.yuenum || '0'}}</h2>
							</div>
						</div>
					</div>
			</div>
			<div class="fui-tab fui-tab-danger" id="tab" style="top:0.5rem">
				<a ng-class="{'external active':pagedata.params.status == '0'}" href="javascript:" ng-click="pagedata.params.status='0';tool.get_list('jy_yiliao/worker.yuyue_order/getlist/',true);">待付款</a>
				<a ng-class="{'external active':pagedata.params.status == '1'}" href="javascript:" ng-click="pagedata.params.status='1';tool.get_list('jy_yiliao/worker.yuyue_order/getlist/',true);">待处理</a>
				<a ng-class="{'external active':pagedata.params.status == '2'}" href="javascript:" ng-click="pagedata.params.status='2';tool.get_list('jy_yiliao/worker.yuyue_order/getlist/',true);">看诊中</a>
				<a ng-class="{'external active':pagedata.params.status == '3'}" href="javascript:" ng-click="pagedata.params.status='3';tool.get_list('jy_yiliao/worker.yuyue_order/getlist/',true);">已处理</a>
			</div>
			<div class='content-empty' ng-show="!pagedata.list || pagedata.list.length<=0">
				<i class='fa fa-comment-o'></i><br/>暂时没有任何记录!
			</div>
			<div style="padding:0.5rem">
			<div class='fui-list-group container' ng-show="pagedata.list.length>0" >
				<div class="pull-border" style="position:static;padding-bottom:2.5rem">
					<div id="order_list">
					<div ng-repeat="item in pagedata.list" class="box margin12">
					<div class="row" style="margin:0">
						<div class="flex-1"><span class="card_title color-FFF font12">{{item.statustitle}}</span></div>
					</div>
					<ul class="marginTop24 row order_list_ul">
						<li class="flex-1">
							<p>订单类型</p>
							<p>预约门诊</p>
						</li>
						<li class="flex-1">
							<p>客人信息</p>
							<p>{{item.bodytitle}}</p>
						</li>
						<li class="flex-1">
							<p>医生信息</p>
							<p>{{item.workertitle}}</p>
						</li>
					</ul>
					<div class="row marginLeft12 marginTop24 paddingBottom16 lineHeight22" style="margin-right:0">
						<div class="color-999999 font10 flex-1">
							<p class="margin0">下单时间：{{item.createtime}}</p>
							<p class="margin0 margin-t-4">订单编号：{{item.logsn}}</p>
						</div>
						<div style="align-self: flex-end;" class="marginRight12 color font12">
							￥
							<span class="font20">{{item.money}}</span>
						</div>
					</div>
					</div>
					</div>
				</div>
			</div>
			</div>
	</div>
</div>
<div ng-include="sys_html('worker/_footer')"></div>
<script>
scope.tool.get_list('jy_yiliao/worker.yuyue_order/getlist/',true);
scope.pagedata.scroll_bottom=function(){
	scope.tool.get_list('jy_yiliao/worker.yuyue_order/getlist/');
}
</script>